package com.scitc.mapper;

import com.scitc.model.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: zk
 * @date: 2021/5/6 0:40
 * @description:
 */
@Mapper
public interface UserMapper {

    public User getUserByUsername(String username);

    public User getUserById(String id);

    public int setUserRememberById(String id, boolean isRemember);

    public int addUser(User user);

    public int changeNameById(String id, String name);

    public int changePasswordById(String id, String password);
}
